package com.snjx.micro.oauth.user.controller;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @Created by suonanjiexi
 * @Description TODO
 * @Date 2020/7/30 2:49 下午
 */
@RestController
@Api(value = "hello接口", tags = "接口")
public class HelloController {

    @ApiOperation(value = "hello", notes = "hello", produces = "application/json")
    @ApiOperationSupport(order = 1)
    @GetMapping("/hello")
    public String hello() {
        return "Hello World.";
    }

}